package db;

/**
 * Admin.java represents data transer object Admin
 * 
 * @author XA9
 * 
 */

public class Admin {

	/** admin cpr */
	private int cpr;
	/** admin loginId */
	private int loginId;
	/** admin password */
	private int password;
	/** admin firstName */
	private String firstName;
	/** admin lastName */
	private String lastName;

	/**
	 * 
	 * Admin constructor initialize variable as this.variable
	 * 
	 * @param theLoginId
	 * @param thePassword
	 * @param theFirstName
	 * @param theLastName
	 * @param theCpr
	 * 
	 * 
	 * */
	public Admin(int theLoginId, int thePassword, String theFirstName,
			String theLastName, int theCpr) {
		loginId = theLoginId;
		firstName = theFirstName;
		lastName = theLastName;
		cpr = theCpr;
		password = thePassword;
	}

	/**
	 * Returns String
	 * 
	 * @return firstName
	 */
	public String getFirstName() {
		return this.firstName;
	}

	/**
	 * Returns String
	 * 
	 * @return lastName
	 */
	public String getLastName() {
		return this.lastName;
	}

	/**
	 * Returns integer
	 * 
	 * @return cpr
	 */
	public int getCpr() {
		return this.cpr;
	}

	/**
	 * Returns integer
	 * 
	 * @return loginId
	 */
	public int getLoginId() {
		return this.loginId;
	}

	/**
	 * Returns integer
	 * 
	 * @return password
	 */
	public int getPin() {
		return this.password;
	}

}